<template>
  <div id="app">
    <!-- <my-swiper /> -->
    <cascad-menu :menus="menus1"></cascad-menu>
    <!-- <barousel
      class="barousel"
      :list="setData()"
      :width="900"
      :height="260"
      @sliderClick="sliderClick">
    </barousel> -->
    <!-- <div class="content">
      <h1>在线翻译</h1>
      <h5 class="text-muted">简单 / 易用 / 便捷</h5>
      <translateForm v-on:formSubmit="translateText"></translateForm>
      <translateOutput v-text="translatedText"></translateOutput>
    </div>
    <div class="hello">
    <scroll class="content" ref="scroll" :data="list" :pullup="pullup">
      <div>
        <ul>
          <li v-for="(item, index) in list" :key="index">
            <div class="name">{{item.name}}</div>
          </li>
        </ul>
      </div>
    </scroll>
  </div> -->
  </div>
</template>

<script>
import axios from 'axios'
import Scroll from './components/scroll.vue'
import CascadMenu from './components/cascad-menu.vue'
import Barousel from './components/barousel.vue'
import MySwiper from './components/my-swiper'

export default {
  name: 'app',
  components: {
    MySwiper,
    Barousel,
    CascadMenu,
    Scroll
  },
  data () {
    return {

      menus1:[
        {
            "id": "3701",
            "commitId": "0",
            "name": "脆饼卷",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/crispyRoll.png",
            "data": [
                {
                    "scenarioMenuId": "3701",
                    "id": "3301",
                    "commitId": "0",
                    "name": "(脆饼)酸辣辣土豆丝",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3701",
                    "id": "3302",
                    "commitId": "0",
                    "name": "(脆饼)销魂烤鸡肉",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3701",
                    "id": "3303",
                    "commitId": "0",
                    "name": "(脆饼)麻辣烤鸡",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3701",
                    "id": "3304",
                    "commitId": "0",
                    "name": "(脆饼)果木烤鸭",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3701",
                    "id": "3305",
                    "commitId": "0",
                    "name": "(脆饼)蜜汁叉烧",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3701",
                    "id": "3306",
                    "commitId": "0",
                    "name": "(脆饼)欢辣泡菜五花肉",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3701",
                    "id": "3307",
                    "commitId": "0",
                    "name": "(脆饼)老酸菜泡肥牛",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3701",
                    "id": "3308",
                    "commitId": "0",
                    "name": "(脆饼)风情黑椒牛柳",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3702",
            "commitId": "0",
            "name": "蛋饼券",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/eggPie.png",
            "data": [
                {
                    "scenarioMenuId": "3702",
                    "id": "3309",
                    "commitId": "0",
                    "name": "(蛋饼)酸辣辣土豆丝",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3702",
                    "id": "3310",
                    "commitId": "0",
                    "name": "(蛋饼)销魂烤鸡肉",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3702",
                    "id": "3311",
                    "commitId": "0",
                    "name": "(蛋饼)麻辣烤鸡",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3702",
                    "id": "3312",
                    "commitId": "0",
                    "name": "(蛋饼)果木烤鸭",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3702",
                    "id": "3313",
                    "commitId": "0",
                    "name": "(蛋饼)蜜汁叉烧",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3702",
                    "id": "3314",
                    "commitId": "0",
                    "name": "(蛋饼)欢辣泡菜五花肉",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3702",
                    "id": "3315",
                    "commitId": "0",
                    "name": "(蛋饼)老酸菜泡肥牛",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3702",
                    "id": "3316",
                    "commitId": "0",
                    "name": "(蛋饼)风情黑椒牛柳",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3703",
            "commitId": "0",
            "name": "Tacco",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/crispCharge.png",
            "data": [
                {
                    "scenarioMenuId": "3703",
                    "id": "3317",
                    "commitId": "0",
                    "name": "(Tacco)酸辣辣土豆丝",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3703",
                    "id": "3318",
                    "commitId": "0",
                    "name": "(Tacco)销魂烤鸡肉",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3703",
                    "id": "3319",
                    "commitId": "0",
                    "name": "(Tacco)麻辣烤鸡",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3703",
                    "id": "3320",
                    "commitId": "0",
                    "name": "(Tacco)果木烤鸭",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3703",
                    "id": "3321",
                    "commitId": "0",
                    "name": "(Tacco)蜜汁叉烧",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3703",
                    "id": "3322",
                    "commitId": "0",
                    "name": "(Tacco)欢辣泡菜五花肉",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3703",
                    "id": "3323",
                    "commitId": "0",
                    "name": "(Tacco)老酸菜泡肥牛",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3703",
                    "id": "3324",
                    "commitId": "0",
                    "name": "(Tacco)风情黑椒牛柳",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3704",
            "commitId": "0",
            "name": "吐司",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/toast.png",
            "data": [
                {
                    "scenarioMenuId": "3704",
                    "id": "3325",
                    "commitId": "0",
                    "name": "(吐司)酸辣辣土豆丝",
                    "imgUrl": "",
                    "priceList": "12.00",
                    "priceSell": "12.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3704",
                    "id": "3326",
                    "commitId": "0",
                    "name": "(吐司)销魂烤鸡肉",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3704",
                    "id": "3327",
                    "commitId": "0",
                    "name": "(吐司)麻辣烤鸡",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3704",
                    "id": "3328",
                    "commitId": "0",
                    "name": "(吐司)果木烤鸭",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3704",
                    "id": "3329",
                    "commitId": "0",
                    "name": "(吐司)蜜汁叉烧",
                    "imgUrl": "",
                    "priceList": "19.90",
                    "priceSell": "19.90",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3704",
                    "id": "3330",
                    "commitId": "0",
                    "name": "(吐司)欢辣泡菜五花肉",
                    "imgUrl": "",
                    "priceList": "19.90",
                    "priceSell": "19.90",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3704",
                    "id": "3331",
                    "commitId": "0",
                    "name": "(吐司)老酸菜泡肥牛",
                    "imgUrl": "",
                    "priceList": "19.90",
                    "priceSell": "19.90",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3704",
                    "id": "3332",
                    "commitId": "0",
                    "name": "(吐司)风情黑椒牛柳",
                    "imgUrl": "",
                    "priceList": "19.90",
                    "priceSell": "19.90",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3705",
            "commitId": "0",
            "name": "薄脆",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/singlePie.png",
            "data": [
                {
                    "scenarioMenuId": "3705",
                    "id": "3333",
                    "commitId": "0",
                    "name": "(薄脆)麻辣烤鸡",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3705",
                    "id": "3334",
                    "commitId": "0",
                    "name": "(薄脆)黑松露脆皮鸭",
                    "imgUrl": "",
                    "priceList": "19.90",
                    "priceSell": "19.90",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3706",
            "commitId": "0",
            "name": "串",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/bunch.png",
            "data": [
                {
                    "scenarioMenuId": "3706",
                    "id": "3335",
                    "commitId": "0",
                    "name": "一钵热煮",
                    "imgUrl": "",
                    "priceList": "8.00",
                    "priceSell": "8.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3706",
                    "id": "3336",
                    "commitId": "0",
                    "name": "一粒热煮",
                    "imgUrl": "",
                    "priceList": "2.50",
                    "priceSell": "2.50",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3707",
            "commitId": "0",
            "name": "热饮",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/hotDrinks.png",
            "data": [
                {
                    "scenarioMenuId": "3707",
                    "id": "3337",
                    "commitId": "0",
                    "name": "经典豆浆",
                    "imgUrl": "",
                    "priceList": "6.00",
                    "priceSell": "6.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3707",
                    "id": "3338",
                    "commitId": "0",
                    "name": "香浓米浆",
                    "imgUrl": "",
                    "priceList": "6.00",
                    "priceSell": "6.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3707",
                    "id": "3339",
                    "commitId": "0",
                    "name": "养颜玫瑰乌龙",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3707",
                    "id": "3340",
                    "commitId": "0",
                    "name": "港式丝袜奶茶",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3708",
            "commitId": "0",
            "name": "冷饮",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/coldSparklingWater.png",
            "data": [
                {
                    "scenarioMenuId": "3708",
                    "id": "3341",
                    "commitId": "0",
                    "name": "黑豆豆奶盖",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3708",
                    "id": "3342",
                    "commitId": "0",
                    "name": "乌龙豆豆奶盖",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3708",
                    "id": "3343",
                    "commitId": "0",
                    "name": "桃气泡泡",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3708",
                    "id": "3344",
                    "commitId": "0",
                    "name": "莓力泡泡",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3709",
            "commitId": "0",
            "name": "拿破仑",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/crispCharge.png",
            "data": [
                {
                    "scenarioMenuId": "3709",
                    "id": "3345",
                    "commitId": "0",
                    "name": "蛋香拿破仑",
                    "imgUrl": "",
                    "priceList": "8.00",
                    "priceSell": "8.00",
                    "sellTime": "1200101"
                }
            ]
        },
        {
            "id": "3710",
            "commitId": "0",
            "name": "脆饺",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/dumplings.png",
            "data": [
                {
                    "scenarioMenuId": "3710",
                    "id": "3346",
                    "commitId": "0",
                    "name": "三鲜脆饺",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200101"
                },
                {
                    "scenarioMenuId": "3710",
                    "id": "3347",
                    "commitId": "0",
                    "name": "玉米鲜肉脆饺",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200101"
                }
            ]
        },
        {
            "id": "3711",
            "commitId": "0",
            "name": "饭",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/rice.png",
            "data": [
                {
                    "scenarioMenuId": "3711",
                    "id": "3348",
                    "commitId": "0",
                    "name": "田园蛋炒饭",
                    "imgUrl": "",
                    "priceList": "16.00",
                    "priceSell": "16.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3711",
                    "id": "3349",
                    "commitId": "0",
                    "name": "(炒饭)销魂烤鸡肉",
                    "imgUrl": "",
                    "priceList": "24.00",
                    "priceSell": "24.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3711",
                    "id": "3350",
                    "commitId": "0",
                    "name": "(炒饭)麻辣烤鸡",
                    "imgUrl": "",
                    "priceList": "24.00",
                    "priceSell": "24.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3711",
                    "id": "3351",
                    "commitId": "0",
                    "name": "(炒饭)黑松露脆皮鸭",
                    "imgUrl": "",
                    "priceList": "24.00",
                    "priceSell": "24.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3711",
                    "id": "3352",
                    "commitId": "0",
                    "name": "(饭)销魂烤鸡肉",
                    "imgUrl": "",
                    "priceList": "26.00",
                    "priceSell": "26.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3711",
                    "id": "3353",
                    "commitId": "0",
                    "name": "(饭)麻辣烤鸡",
                    "imgUrl": "",
                    "priceList": "26.00",
                    "priceSell": "26.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3711",
                    "id": "3354",
                    "commitId": "0",
                    "name": "(饭)果木烤鸭",
                    "imgUrl": "",
                    "priceList": "26.00",
                    "priceSell": "26.00",
                    "sellTime": "1200102,1200104"
                }
            ]
        },
        {
            "id": "3712",
            "commitId": "0",
            "name": "汤",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/soup.png",
            "data": [
                {
                    "scenarioMenuId": "3712",
                    "id": "3355",
                    "commitId": "0",
                    "name": "松茸野菌汤",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3712",
                    "id": "3356",
                    "commitId": "0",
                    "name": "老坛酸汤鱼",
                    "imgUrl": "",
                    "priceList": "12.00",
                    "priceSell": "12.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3712",
                    "id": "3357",
                    "commitId": "0",
                    "name": "金汤花胶烩灵芝",
                    "imgUrl": "",
                    "priceList": "12.00",
                    "priceSell": "12.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3712",
                    "id": "3358",
                    "commitId": "0",
                    "name": "甜藕煲排骨",
                    "imgUrl": "",
                    "priceList": "18.00",
                    "priceSell": "18.00",
                    "sellTime": "1200102,1200104"
                }
            ]
        },
        {
            "id": "3713",
            "commitId": "0",
            "name": "点心",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/snack.png",
            "data": [
                {
                    "scenarioMenuId": "3713",
                    "id": "3359",
                    "commitId": "0",
                    "name": "爆浆黑沙酥(2个)",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200103"
                },
                {
                    "scenarioMenuId": "3713",
                    "id": "3360",
                    "commitId": "0",
                    "name": "QQ哒(3个)",
                    "imgUrl": "",
                    "priceList": "10.00",
                    "priceSell": "10.00",
                    "sellTime": "1200103"
                }
            ]
        },
        {
            "id": "3714",
            "commitId": "0",
            "name": "风味小菜",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/addMaterial.png",
            "data": [
                {
                    "scenarioMenuId": "3714",
                    "id": "3361",
                    "commitId": "0",
                    "name": "脆爽酸毛豆",
                    "imgUrl": "",
                    "priceList": "2.00",
                    "priceSell": "2.00",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3715",
            "commitId": "0",
            "name": "风味酱",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/sauce.png",
            "data": [
                {
                    "scenarioMenuId": "3715",
                    "id": "3362",
                    "commitId": "0",
                    "name": "虎邦蒜蓉辣椒酱",
                    "imgUrl": "",
                    "priceList": "3.00",
                    "priceSell": "3.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3715",
                    "id": "3363",
                    "commitId": "0",
                    "name": "虎邦鲁西牛肉酱",
                    "imgUrl": "",
                    "priceList": "3.00",
                    "priceSell": "3.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3715",
                    "id": "3364",
                    "commitId": "0",
                    "name": "太太笑香醋",
                    "imgUrl": "",
                    "priceList": "1.00",
                    "priceSell": "1.00",
                    "sellTime": "1200106"
                },
                {
                    "scenarioMenuId": "3715",
                    "id": "3365",
                    "commitId": "0",
                    "name": "太太笑辣椒油",
                    "imgUrl": "",
                    "priceList": "1.00",
                    "priceSell": "1.00",
                    "sellTime": "1200106"
                }
            ]
        },
        {
            "id": "3716",
            "commitId": "0",
            "name": "精选套餐",
            "imgUrl": "http://static.lianglife.com/BroadSideIcon/comboMeal.png",
            "data": [
                {
                    "scenarioMenuId": "3716",
                    "id": "3366",
                    "commitId": "0",
                    "name": "蛋香拿破仑套餐",
                    "imgUrl": "",
                    "priceList": "14.00",
                    "priceSell": "10.00",
                    "sellTime": "1200101"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3367",
                    "commitId": "0",
                    "name": "果木鸭肉蛋饼套餐",
                    "imgUrl": "",
                    "priceList": "22.00",
                    "priceSell": "18.00",
                    "sellTime": "1200101"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3368",
                    "commitId": "0",
                    "name": "蜜汁叉烧蛋吐司套餐",
                    "imgUrl": "",
                    "priceList": "26.80",
                    "priceSell": "22.00",
                    "sellTime": "1200101"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3369",
                    "commitId": "0",
                    "name": "麻辣烤鸡饭套餐",
                    "imgUrl": "",
                    "priceList": "38.00",
                    "priceSell": "28.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3370",
                    "commitId": "0",
                    "name": "果木烤鸭饭套餐",
                    "imgUrl": "",
                    "priceList": "38.00",
                    "priceSell": "28.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3371",
                    "commitId": "0",
                    "name": "黑松露脆皮鸭炒饭套餐",
                    "imgUrl": "",
                    "priceList": "36.00",
                    "priceSell": "26.00",
                    "sellTime": "1200102,1200104"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3372",
                    "commitId": "0",
                    "name": "一钵热煮套餐",
                    "imgUrl": "",
                    "priceList": "26.00",
                    "priceSell": "18.00",
                    "sellTime": "1200103"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3373",
                    "commitId": "0",
                    "name": "下午茶套餐",
                    "imgUrl": "",
                    "priceList": "26.00",
                    "priceSell": "18.00",
                    "sellTime": "1200103"
                },
                {
                    "scenarioMenuId": "3716",
                    "id": "3374",
                    "commitId": "0",
                    "name": "黑松露脆皮鸭薄脆套餐",
                    "imgUrl": "",
                    "priceList": "51.90",
                    "priceSell": "38.00",
                    "sellTime": "1200103"
                }
            ]
        }
    ],

      menus: [
        {
          name: '菜单1',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单8',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单2',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单3',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单4',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单5',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单6',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单7',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单8',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        },
        {
          name: '菜单9',
          data: [
            {
              name: '1.1'
            },
            {
              name: '1.2'
            },
            {
              name: '1.3'
            },
            {
              name: '1.4'
            },
            {
              name: '1.5'
            },
            {
              name: '1.6'
            }
          ]
        }
      ],
      translatedText: "",
      list: [],
      pullup: true
    }
  },
  // created () {
  //   this.getlist().then(res => {
  //     this.list = res.data.result
  //   })
  // },
  methods: {
    setData() {
      let list = [];
      for(let i = 0 ; i < 9;i++){
        list.push({
          title: i,
          src: 'static/img/'+i+'.jpg'
        })
      }
      return list;
    },
    sliderClick (i) {
      alert(i);
    },
    translateText: function(text, language) {
      this.$http.get('https://translate.yandex.net/api/v1.5/tr.json/translate?key=trnsl.1.1.20170929T110341Z.55bdd4c0d6e2af6d.43b4aec6bcf42c014f55519bfb6201d768302be9&lang='+ language + '&text=' + text)
      .then(response => {
          console.log(response.body.text[0]);
          this.translatedText = response.body.text[0];
      });
    },
    // getlist () {
    //   let url = 'http://localhost:3000/personalized'
    //   return axios.get(url).then(res => {
    //     return Promise.resolve(res)
    //   })
    // }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  /* margin-top: 100px; */
}
.barousel {
  margin: 0 auto;
  width: 1000px;
}
li {
  list-style: none;
  height: 60px;
}
.content {
  height: 100%;
  overflow: hidden;
}
.name {
  line-height: 60px;
  text-align: left;
}
</style>
